package org.lds.logger.config.appender.async;

import org.lds.logger.config.appender.Appender;

public class MultiThreadAsyncAppenderGroup extends AbstractAsyncAppenderGroup {

    @Override
    public void initialize() {
        super.initialize();

        for (Appender appender : getAsyncAppenderList()) {
            MultiThreadAsyncAppenderTask appenderTask = new MultiThreadAsyncAppenderTask(appender, this);
            new Thread(appenderTask).start();
        }
    }

}
